﻿<extend name="Public:base" />
<block name="body">
<style type="text/css">
    .widget-box.transparent>.widget-header {
    border-bottom: 1px solid #dce8f1;
    color: #4383b4;
    padding-left: 3px;
    margin-top: 20px;
    margin-bottom: 10px;
    background: #b6d1f2;

}
.page-content {
    margin: 0;
    padding: 0;
}
.well {
         margin-bottom: 5px; 
}
</style>
<!--引入弹窗插件-->
<include file="Public:artdialog" />

 <div class="main-content">


		<div class="breadcrumbs" id="breadcrumbs">
			<script type="text/javascript">
				try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
			</script>
			<ul class="breadcrumb">
				<li>
					<i class="icon-home home-icon"></i>
			 <span style="color:#428bca">{$parent_nav.name}</span>
				</li>
				<li class="active">{$one_nav.name}</li>
			</ul><!-- .breadcrumb -->
		</div>

<div class="page-content">
<div class="col-sm-12">

               <!--                          <div class="widget-box transparent">
                                            <div class="widget-header widget-header-flat">
                                                <h4 class="lighter">
                                                    <i class="icon-star orange"></i>
                                                    系统消息与公告
                                                </h4>

                                                <div class="widget-toolbar">
                                                    <a href="#" data-action="collapse">
                                                        <i class="icon-chevron-up"></i>
                                                    </a>
                                                </div>
                                            </div> -->


                                            <div class="row">
                                    <div class="col-sm-6">
                                        <div class="widget-box transparent">
                                            <div class="widget-header widget-header-flat">
                                                <h4 class="lighter">
                                                    <i class="icon-bell-alt orange"></i>
                                                    公告栏
                                                </h4>

                                                <div class="widget-toolbar">
                                                    <a href="#" data-action="collapse">
                                                        <i class="icon-chevron-up"></i>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class="widget-body">
                                            <div class="well well-sm"> 1.欢迎来到VIP管理系统</div>
                                            <div class="well well-sm"> 2.暂时没有系统消息</div>
<!--                                                 <div class="widget-main no-padding">
                                                    <table class="table table-bordered table-striped">
                                                        <thead class="thin-border-bottom">
                                                            <tr>
                                                                <th>
                                                                    <i class="icon-caret-right blue"></i>
                                                                    名称
                                                                </th>

                                                                <th>
                                                                    <i class="icon-caret-right blue"></i>
                                                                    价格
                                                                </th>

                                                                <th class="hidden-480">
                                                                    <i class="icon-caret-right blue"></i>
                                                                    状态
                                                                </th>
                                                            </tr>
                                                        </thead>

                                                        <tbody>
                                                            <tr>
                                                                <td>internet.com</td>

                                                                <td>
                                                                    <small>
                                                                        <s class="red">$29.99</s>
                                                                    </small>
                                                                    <b class="green">$19.99</b>
                                                                </td>

                                                                <td class="hidden-480">
                                                                    <span class="label label-info arrowed-right arrowed-in">销售中</span>
                                                                </td>
                                                            </tr>

                                                            <tr>
                                                                <td>online.com</td>

                                                                <td>
                                                                    <small>
                                                                        <s class="red"></s>
                                                                    </small>
                                                                    <b class="green">$16.45</b>
                                                                </td>

                                                                <td class="hidden-480">
                                                                    <span class="label label-success arrowed-in arrowed-in-right">可用</span>
                                                                </td>
                                                            </tr>

                                                            <tr>
                                                                <td>newnet.com</td>

                                                                <td>
                                                                    <small>
                                                                        <s class="red"></s>
                                                                    </small>
                                                                    <b class="green">$15.00</b>
                                                                </td>

                                                                <td class="hidden-480">
                                                                    <span class="label label-danger arrowed">待定</span>
                                                                </td>
                                                            </tr>

                                                            <tr>
                                                                <td>web.com</td>

                                                                <td>
                                                                    <small>
                                                                        <s class="red">$24.99</s>
                                                                    </small>
                                                                    <b class="green">$19.95</b>
                                                                </td>

                                                                <td class="hidden-480">
                                                                    <span class="label arrowed">
                                                                        <s>无货</s>
                                                                    </span>
                                                                </td>
                                                            </tr>

                                                            <tr>
                                                                <td>domain.com</td>

                                                                <td>
                                                                    <small>
                                                                        <s class="red"></s>
                                                                    </small>
                                                                    <b class="green">$12.00</b>
                                                                </td>

                                                                <td class="hidden-480">
                                                                    <span class="label label-warning arrowed arrowed-right">售完</span>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div> --><!-- /widget-main -->
                                            </div><!-- /widget-body -->
                                        </div><!-- /widget-box -->
                                    </div>

                                    <div class="col-sm-6">
                                        <div class="widget-box transparent">
                                            <div class="widget-header widget-header-flat">
                                                <h4 class="lighter">
                                                    <i class="icon-signal orange"></i>
                                                    系统消息
                                                </h4>

                                                <div class="widget-toolbar">
                                                    <a href="#" data-action="collapse">
                                                        <i class="icon-chevron-up"></i>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class="widget-body">
                                            <if condition="$balance_message eq '' ">
                                                <div class="well well-sm">当前没有消息</div>
                                            <else/>
                                                <div class="well well-sm red"> {$balance_message}</div>
                                             
                                            </if>
                                            </div><!-- /widget-body -->
                                        </div><!-- /widget-box -->
                                    </div>
                                </div>

        </div>



             
<div class="col-sm-12">
                              <div class="row">
                                    <div class="col-sm-6">
                                        <div class="widget-box transparent">
                                            <div class="widget-header widget-header-flat">
                                                <h4 class="lighter">
                                                    <i class="icon-star orange"></i>
                                                    工作台统计
                                                </h4>

                                                <div class="widget-toolbar">
                                                    <a href="#" data-action="collapse">
                                                        <i class="icon-chevron-up"></i>
                                                    </a>
                                                </div>
                                            </div>

 <div class="widget-body"><div class="widget-body-inner" style="display: block;">
                                                <div class="widget-main no-padding">
                                                    <table class="table table-bordered table-striped center">
                                                        <tbody>
                                                            <tr>
                                                                <td  width="25%">总下单数量：</td>

                                                                <td class="green"  width="25%">
                                                                <b>{$count['sum_order_count']}</b>
                                                                </td>
                                                           

                                                            </tr>

                                                            <tr>
                                                                <td>API下单数量：</td>

                                                                    <td class="green">
                                                                <b>{$count['sum_order_count']}</b>
                                                                </td>
                                                    
                                                            </tr>

                                                            <tr>
                                                                <td>未收集身份证订单数量：</td>

                                                                       <td class="green">
                                                                <b>{$count['no_idcard_order_count']}</b>
                                                                </td>
                                         
                                                            </tr>

                                                            <tr>
                                                                <td>未发货单据数量：</td>

                                                                          <td class="green">
                                                                <b>{$count['no_delivery_order_count']}</b>
                                                                </td>
                                                  
                                            
                                                            </tr>

                                                            <tr>
                                                                <td>总采购商品(件)： </td>

                                                                     <td class="green">
                                                                <b>{$count['goods_purchase_count']}</b>
                                                                </td>
                                                     
                                                            </tr>
                                                            <tr>
                                                                <td>未完成预订单数量：</td>

                                                                     <td class="green">
                                                                <b>{$count['no_directional_count']}</b>
                                                                </td>
                                                     
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div></div><!-- /widget-body -->
                                        </div><!-- /widget-box -->
                                    </div>

                                    <div class="col-sm-6">
                                        <div class="widget-box transparent">
                                            <div class="widget-header widget-header-flat">
                                                <h4 class="lighter">
                                                    <i class="icon-bolt orange"></i>
                                                    库存预警
                                                </h4>

                               

                                                <div class="widget-toolbar">
                     
                                                    <a href="#" data-action="collapse">
                                                        <i class="icon-chevron-up"></i>
                                                    </a>
                                                </div>

                                                   <div class="widget-toolbar">
                                                   <a href="{:U('MyWarehouse/index',array('nav_id'=>'86','jump_stock'=>1))}" style="">
                                                             查看更多<i class="icon-double-angle-right"></i>
                                                        </a>
                                                 </div>
                                            </div>

                                            <div class="widget-body">
                                                <div class="widget-main no-padding">
                                                    <table class="table table-bordered table-striped center">
                                                        <tbody>
                                                       
                                                           <tr>
                                                               <th>商品编号</th>
                                                               <th>可用库存</th>
                                                            </tr>
                                                        
                                                          <volist name="goods_list" id="v">
                                                            <tr >
                                                                <td>{$v.goods_sn}</td>
                                                                <td style="color:red">{$v['quantity'] - $v['salenumber']}</td>
                                                            </tr>
                                                          </volist>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div><!-- /widget-body -->
                                        </div><!-- /widget-box -->
                                    </div>
                                </div>
  </div>
 </div>
</div>
</div>
<script type="text/javascript">

</script>
</block>
